﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using FingerPrintRecognizer.Common;

namespace FPRAdminClient
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
           
        }

        private void button1_Click(object sender, EventArgs e)
        {
            FPRecognizerServiceClient client = new FPRecognizerServiceClient();
            PluginInfo[] pi = client.getPluginList("fake");
            String plugin_details = " ";
            foreach (PluginInfo p in pi)
            {
                plugin_details += p.PluginName;
                plugin_details += "\n ";
            }

            MessageBox.Show("Total " + pi.Length + " Plugin found \n" + "They are : \n\n " + plugin_details);
            //client.getPluginList();            
        }
    }
}
